package com.zhijian.medical.entity.vo.request;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 脱水前的样本放置容器表or修改类
 *
 * @author HCG
 * @version 1.0
 * @date 2022-11-08
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "脱水前的样本放置容器表or修改类")
public class BeforeDehydrationSaveOrUpdateVo implements Serializable {

    private static final long serialVersionUID = -1626352603944572271L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", hidden = true)
    private Long id;

    /**
     * 容器标识
     */
    @ApiModelProperty("容器标识")
    @NotBlank(message = "容器标识不能为空")
    private String containerNumber;

    /**
     * 开始样本号
     */
    @ApiModelProperty("开始样本号")
    @NotNull(message = "开始样本号不能为空")
    private Integer beginSampleNumber;

    /**
     * 结束样本号
     */
    @ApiModelProperty("结束样本号")
    @NotNull(message = "结束样本号不能为空")
    private Integer endSampleNumber;

}
